home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Textfiles / cracking / BeginnersMacAssembly.sit.hqx / BeginnersMacAssembly.rsrc / PICT_78.png < prev    next >
Portable Network Graphic  |  1997-07-26  |  117KB  |  816x1056  |  8-bit (256 colors)
Labels: book | reckoner | sky | windowpane
OCR: Sat, Feb 17 1996 Beginners Guide Macintosh Assembly Language Programming 7Bage As long as the blob (or sprite) Is surrounded by the colour of the back kground this will be the fastest way of mov ving a sprite around the Mac screen. As you can see, the blob is surrounded by a black border this is colour 255 and you colour 0.The depth of the border determines how far we can move the blob in this example the depth is a minimum of pixels. OS the most we can move in any one move (frame) Is pixels this really isn' ta problem as you should be aiming for smoothness. and moves in excess pixels in one frame will lead to jerky motion. Now that we know how the blob IS defined, we need to know how to get it into memory so we can pass a pointer to its data to icl8 print. Again it's the libraries to the ...